Ext.define('Admin.model.overtime.OvertimeModel', {
    extend: 'Admin.model.Base',
    fields: [
		{name:'id'					,type: 'int'},
		{name:'taskId' 				,type: 'string'},
        {name:'name' 				,type: 'string'},
        {name:'applicationTime'		,type: 'date',format:'Y/M/D H:m:i'},
        {name:'createDate'			,type: 'date',format:'Y/M/D H:m:i'},
        {name:'overtimeDate'		,type: 'string'},
		{name:'beginDate'			,type: 'date',format:'Y/M/D H:m:i'},
		{name:'endDate'				,type: 'date',format:'Y/M/D H:m:i'},
		{name:'department'			,type: 'string'},
		{name:'totalTime'			,type: 'float'},
		{name:'reason'				,type: 'string'},
		{name:'state' 				,type: 'string'},
		{name:'taskDefinitionKey' 	,type: 'string'},
		{name:'processInstanceId' 	,type: 'string'},
		{name:'taskName' 			,type: 'string'},
		{name:'assignee' 			,type: 'string'},
		{name:'rejectReason' 		,type: 'string'},
		{name:'realOvertimeDate'	,type: 'string'},
		{name:'realBeginDate' 		,type: 'date',format:'Y/M/D H:m:i'},
		{name:'realEndDate' 		,type: 'date',format:'Y/M/D H:m:i'},
		{name:'realTotalTime' 		,type: 'float'}
    ]
});
